package com.sunlands.zlcx.usercenter.vo.feign;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "好友相关信息")
public class UserFriendInfo {

    @Id
    @GeneratedValue
    private Long id;
    private Long userId; //主人
    private Long friendsUserId; //主人的道友
    private Integer friendsType; //关系类型 1恋人 2朋友 3同学
    private String friendsUserNickName; //道友的昵称
    private String friendsUserAvatar; //道友的头像

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String applyContent;
    private String friendsUserZhiye;
    private String friendsUserZhuanye;

}
